import request from '@/utils/request'

// 查询HTTP检测参数列表
export function listCheckparam(query) {
  return request({
    url: '/lbconfig/checkparam/list',
    method: 'get',
    params: query
  })
}

// 查询HTTP检测参数详细
export function getCheckparam(id) {
  return request({
    url: '/lbconfig/checkparam/' + id,
    method: 'get'
  })
}

// 新增HTTP检测参数
export function addCheckparam(data) {
  return request({
    url: '/lbconfig/checkparam',
    method: 'post',
    data: data
  })
}

// 修改HTTP检测参数
export function updateCheckparam(data) {
  return request({
    url: '/lbconfig/checkparam',
    method: 'put',
    data: data
  })
}

// 删除HTTP检测参数
export function delCheckparam(id) {
  return request({
    url: '/lbconfig/checkparam/' + id,
    method: 'delete'
  })
}
